package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ccc
 * @since 2023-11-15 10:27:58
 */
@Data
@TableName("farm_seed")
public class FarmSeed {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;             //

   /* @ApiModelProperty("作物当前进度")
    private BigDecimal cropProgress;

    @ApiModelProperty("作物生长周期")
    private BigDecimal growthCycle;*/

    @ApiModelProperty("种子数量")
    private BigDecimal breedNum;    //

    @ApiModelProperty("种植标识")
    private String plantSign;

    @ApiModelProperty("种植面积")
    private BigDecimal plantArea;   //

    @ApiModelProperty("种植地块")
    private String landId;          //

    @ApiModelProperty("育苗批号")
    private String code;            //

    @ApiModelProperty("种植开始时间")
    private Date plantStart;        //

    @ApiModelProperty("种植品类")
    private Integer categoryId;     //

    @ApiModelProperty("负责人")
    private Integer principal;      //

    @ApiModelProperty("记录人")
    private Integer recoder;

    @ApiModelProperty("辅助育苗设施")
    private Integer seedFacilityId;

    @ApiModelProperty("辅助育苗设施")
    private String seedFacility;

    @ApiModelProperty("育苗数量")
    private Integer seedNum;        //

    @ApiModelProperty("种源信息")
    private Integer breedId;        //

    @ApiModelProperty("种源批号")
    private Integer breedCode;

/*    @ApiModelProperty("前茬作物")
    private String stubbleCrop;*/

    @ApiModelProperty("作业描述")
    private String workDetail;

    @ApiModelProperty("作业班组")
    private Integer workGroupId;

    @ApiModelProperty("作业图片")
    private String workPic;

    @ApiModelProperty("作业时间-开始 ")
    private Date workStart;

    @ApiModelProperty("作业时间-结束")
    private Date workEnd;

    @ApiModelProperty("用工人数")
    private Integer workerNum;

    @ApiModelProperty("状态 1进行中，2已结束")
    private Integer state;

    @ApiModelProperty("繁殖材料")
    private Integer materials;

    //更新字段

    @ApiModelProperty("育苗方式")
    private Integer type;       //

}